package factory.demo1.service.impl;

import factory.demo1.entity.AwardInfo;
import factory.demo1.entity.ResponseResult;
import factory.demo1.service.IFreeGoods;

/**
 * 优酷 会员服务
 *
 * @author 1
 * @version 1.0
 * @description: TODO
 * @date 2024-08-28 13:46
 */
public class YouKuMemberFreeGoods implements IFreeGoods {
    @Override
    public ResponseResult sendFreeGoods(AwardInfo awardInfo) {
        String phone = awardInfo.getExtMap().get("phone");
        System.out.println("发放优酷会员成功,绑定手机号: " + phone);
        return new ResponseResult(200,"优酷会员发放成功!");
    }
}
